package com.example.server.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author: xieyonghui
 * @Date: 2019/7/4
 * @Description:
 */
@Data
public class BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    protected Long id;
    @JsonIgnore
    protected String createBy;
    @JsonIgnore
    protected Date createTime;
    @JsonIgnore
    protected String modifiedBy;
    @JsonIgnore
    protected Date modifiedTime;
    @JsonIgnore
    protected Boolean enabled;
    @JsonIgnore
    protected Integer count;
}
